import { Column, PrimaryGeneratedColumn, Entity  } from 'typeorm'

@Entity()
export class Article {
  @PrimaryGeneratedColumn()
  id: number

  @Column()
  title: string

  @Column()
  content: string

  @Column()
  state: boolean
}
